home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 3: CDPD 3 / Almathera Ten on Ten - Disc 3: CDPD3.iso / scope / 076-100 / scopedisk83 / beep103 / beep103.doc < prev    next >
Text File  |  1995-03-19  |  1KB  |  63 lines

  1.  
  2. Beep      - Assembly language beep program.
  3. Version   - 1.03
  4. Copyright - Copyright (c) by David Jenkins, 26 Jan 1989, 
  5.             I can be reached at Bloom Beacon 416-283-5924.
  6.  
  7.      This program may be distributed freely, but please keep the 
  8. documentation with the load module.
  9.  
  10.  
  11. Program description
  12. ~~~~~~~~~~~~~~~~~~~
  13.  
  14.     This is a simple beep program; when executed it uses the Amiga
  15. audio device to produce a beep. Any available audio channel will be
  16. allocated.
  17.  
  18.     Beep accepts two parameters: the first is the period of the tone
  19. and the second is the duration. The range for each parameter is 1 to 9.
  20.  
  21. A period of 1 produces a high note, and 9 produces a low note. 
  22.  
  23. A duration of 1 produces a short beep and 9 a long beep.
  24.  
  25.  
  26. Examples:
  27. ~~~~~~~~~
  28.  
  29. Beep   
  30.  
  31. Default period and duration
  32.  
  33.  
  34. Beep 1 9
  35.  
  36. High note, long duration.
  37.  
  38.  
  39. Beep 9 1
  40.  
  41. Low note, short duration.
  42.  
  43.  
  44. Making beep resident.
  45. ~~~~~~~~~~~~~~~~~~~~
  46.  
  47.     Beep is pure code and can, therefore, safely be made resident
  48. either with the Amigados 'resident' command or a command such as 'resi' in
  49. WShell by William S Hawes.
  50.  
  51. Using WShell, it is possible to include Beep in the prompt.
  52.  
  53. For example:
  54.  
  55. prompt "%2%c%g%1%[beep103 5 4]"
  56.  
  57. Notice the quotes; they are needed if CLI parameters are included between
  58. the brackets.
  59.  
  60.  
  61.  
  62.                         David Jenkins.
  63.